package com.example.ch03myrealmhiro.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {

    @RequestMapping("/login")
    public String login(){

        return "login.html";
    }

    @RequestMapping("/")
    public String login1(){

        return "login.html";
    }
    @RequestMapping("/register.html")
    public String re(){
        return "register.html";
    }
    @RequestMapping("/index.html")
    public String re1(){
        return "index.html";
    }

}
